Interview Questions and Answer
Options:
a. <form method=”post” enctype”multipart”>
b. <form method=”post” enctype”form-data/multipart”>
c. <form method=”post” enctype”multipart-form-data”>
d. <form method=”post” enctype”multipart/form-data”>
Reveal Answer
Options:
a. <label>Check Box</label>
b. <label for=”idCbx”>Check box</label>
c. provide the text in name attribute of input type=”checkbox”
d. None of the above
Reveal Answer
Options:
a. Refer ValidateHtmlPage method at the top of HTML page
b. Upload html file to http://validator.page.w3.org and validate it.
c. Validation of HTML page is done through validator which is specified in DTD (Document Type Declaration) of the page.
d. All the above
Reveal Answer
Options:
a. Presentation Layer
b. Application Layer
c. Network Layer
Reveal Answer
Options:
a. Request Line. Request Header. Message Body.
b. Request Header. Request Line. Message Body.
c. Request Line. Message Body. Request Header.
Reveal Answer
Options:
a. Status Line. Message Body. Response Header.
b. Status Line. Response Header. Message Body.
c. Response Header. Status Line. Message Body.
Reveal Answer
Options:
a. All the name value pair’s are submitted in the Message Body of the request structure.
b. It’s not secured as submitted text is visible in plain text format in the Location bar (URL) of the web browser.
c. Length of the submitted string is restricted.
d. If get method is used and if the page is refreshed it would not prompt before the request is submitted again.
Reveal Answer
Options:
a. All the name value pair’s are submitted in the Message Body of the request structure.
b. Length of the string (amount of data submitted) is not restricted or limited.
c. Post Method is secured because Name-Value pairs cannot be seen in location bar (URL) of the web browser
d. All the above.
Reveal Answer
Options:
a. Page name.
b. Service name.
c. Port number.
d. IP Address.
Reveal Answer
Options:
a. Buttons
b. Elements with name and value pairs.
c. Textboxes
d. All the above.
Reveal Answer
Options:
a. State of checkbox .
b. Name and Value pairs of that checkbox.
c. Only value of that checkbox.
Reveal Answer
Options:
a. Id of all radio buttons for that group should be same.
b. Name of all radio buttons for that group should be same.
c. Group name of all radio buttons for that group should be same.
Reveal Answer
Options:
a. Behaves as a static Image
b. Renders as a Button
c. Both
d. None
Reveal Answer
Options:
a. Number, String
b. Boolean, Function
c. Object, Null, Undefined
d. All of the above
e. None
Reveal Answer
Options:
a. Java Script is case sensitive language.
b. Java Script is an Object oriented programming language.
c. Java script doesn’t have any data types.
d. JavaScript can be used for validating data in HTML webpage.
Reveal Answer
Options:
a. .SetTimeout (“Function Name ()”, 5000)
b. .SetTimeout (“Function Name ()”, 5)
c. .SetTimeout (“5000”)
d. None
Reveal Answer
Options:
a. .parseInt only
b. .parseFloat only
c. .parseInt with a radix argument
d. .parseInt and parseFloat
Reveal Answer
Options:
a. var arrNames = new Array();
b. var arrNames = [];
c. Both
d. None
Reveal Answer
Options:
a. window.location.reload ()
b. window.location.replace()
c. A & B
d. None
Reveal Answer
Options:
a. location=”http://www. bestdotnettraining.com”;
b. href=” http://www. bestdotnettraining.com”
c. location.href="http://www.bestdotnettraining.com";
d. C & B
Reveal Answer
Options:
a. var dt = new Date(); dt.toDateString()
b. Date dt = new Date;
c. var dt = Date();
d. None;
Reveal Answer
Options:
a. Netscape
b. Microsoft
c. SUN Microsystem
d. IBM
Reveal Answer
Options:
a. Javascript is a scripting language used to provide additional features to the web pages in an application.
b. Used only for form validations on client side in web forms.
c. Only for applying styles.
d. A & B
Reveal Answer
Options:
a. &ltform onsubmit=”function()”&gt
b. &ltinput type=”submit” onclick=”function()”&gt
c. Handle onblur() event of appropriate controls.
Reveal Answer
Options:
a. &ltScript&gt
b. &ltJavascript&gt
c. &lthtml script=”javascript”&gt
d. None
Reveal Answer
Options:
a. Newline
b. tab space
c. ;
d. A & C
Reveal Answer
Options:
a. window.open();
b. openwindow();
c. currentdocument.window.open();
d. document.window.open();
Reveal Answer
Bestdotnet google plus